//
//  receiveCareSucess.m
//  tcpoctest
//
//  Created by gump on 6/14/13.
//  Copyright (c) 2013 gump. All rights reserved.
//

#import "receiveCareSucess.h"
#import "CareDataSource.h"
#import "taskDataSource.h"

@implementation receiveCareSucess

-(void)processreceive
{
    //用户收到 返回 12char(1),2char(1),
    //要关注的用户名长度char(1), 要关注的用户名char(x)
    
    NSString *mail = [logicsb ReadUnencodeString];
    if (![[DataControl shareControl].careds IsShowArrContainsObject:mail])
    {
        [[DataControl shareControl].careds InSertShowArrObject:mail withIndex:0];
        
        [[DataControl shareControl].UICommendDS addUICommand:UI_ADDFIRENDSUCCESS];
    }
    
    [[DataControl shareControl].taskDS CompleteTaskByID:TI_F_CARE
     withIsDirectShow:false];
    
    [self ShowLog];
}

@end
